package net.maku.module.car.convert;

import net.maku.module.car.entity.ReturnCarsEntity;
import net.maku.module.vo.ReturnCarsVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_还车纪录
*
* @author    
*/
@Mapper
public interface ReturnCarsConvert {
    ReturnCarsConvert INSTANCE = Mappers.getMapper(ReturnCarsConvert.class);

    ReturnCarsEntity convert(ReturnCarsVO vo);

    ReturnCarsVO convert(ReturnCarsEntity entity);

    List<ReturnCarsVO> convertList(List<ReturnCarsEntity> list);

}